﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PartyPossyEdit.aspx.cs" Inherits="SysManage.Module.Possy.PartyPossyEdit" %>

<!DOCTYPE html>
<html>
<head runat="server">
    <title></title>
    <style>
        .fontred{color:red}
    </style>
</head>
<body>
    <form id="form1" runat="server" style="background-color: #0000FF">
        <f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
        <f:Panel ID="Panel1" ShowBorder="false" ShowHeader="false" AutoScroll="true" runat="server">
            <Items>

                <f:Form BodyPadding="10px" ID="Form2"
                    runat="server" Title="" ShowBorder="false" ShowHeader="false">
                    <Rows>
                        <f:FormRow>
                            <Items>
                                <f:TextBox ID="txtName" runat="server" LabelAlign="right" Label="名称" Required="true" ShowRedStar="true" RequiredMessage="请填写标题">
                                </f:TextBox>
                                <f:TriggerBoxPicker Label="所属组织" LabelAlign="right" Width="180px"
                                    runat="server" ID="ppBranch" ShowTrigger1="true" ShowTrigger2="true" Trigger1Icon="Clear"
                                    EnableEdit="false" WindinsTitle="选择所属组织"  Required="true" ShowRedStar="true" 
                                    WindinsHeight="450px" EnableTrigger1PostBack="false" EnableTrigger2PostBack="false"
                                    WindinsWidth="700px" WindinsUrl="../../../Share/Picker/BranchSinglePicker.aspx">
                                </f:TriggerBoxPicker>
                            </Items>

                        </f:FormRow>
                        <f:FormRow>
                            <Items>
                                <f:TriggerBoxPicker Label="阵地管理员" LabelAlign="right"
                                    runat="server" ID="ppPossyAdmin"
                                    EnableTrigger1PostBack="false" EnableTrigger2PostBack="false"  ShowTrigger1="true" AutoPostBack="true"
                                    ShowTrigger2="true" Trigger1Icon="Clear"  OnTextChanged="ppPossyAdmin_TextChanged"
                                    EnableEdit="false" WindinsTitle="选择阵地管理员"  
                                    WindinsHeight="500px" Required="true" ShowRedStar="true" 
                                    WindinsWidth="750px" WindinsUrl="../../../Share/Picker/MemberMultiplePicker.aspx">
                                </f:TriggerBoxPicker>
                            </Items>

                        </f:FormRow>
                        <f:FormRow>
                            <Items>
                                <f:Label runat="server" ShowEmptyLabel="true" ID="Label1" 
                                     ShowLabel="true"  LabelAlign="right" 
                                    CssStyle="color:red;" Text="说明：设置好的阵地的管理员具有预约申请审批功能">
                                    
                                </f:Label>
                            </Items>

                        </f:FormRow>
                        <f:FormRow>
                            <Items>
                                <f:TextBox ID="txtLinkPhone" runat="server" LabelAlign="right" Label="联系电话" Required="true" ShowRedStar="true" RequiredMessage="请填写联系电话">
                                </f:TextBox>

                            </Items>

                        </f:FormRow>
                        <f:FormRow>
                            <Items>

                                <f:TextBox ID="txtAddress" runat="server" LabelAlign="right" Label="地址" Required="true" ShowRedStar="true" RequiredMessage="请填写地址">
                                </f:TextBox>
                            </Items>
                        </f:FormRow>
                        <f:FormRow>
                            <Items>
                                <f:TextArea ID="txtTraffic" LabelAlign="right" Label="交通" runat="server">
                                </f:TextArea>
                            </Items>

                        </f:FormRow>
                        <f:FormRow>
                            <Items>
                                <f:TextArea ID="txtDescribe" LabelAlign="right" Label="简介" runat="server">
                                </f:TextArea>
                            </Items>

                        </f:FormRow>
                        <f:FormRow>
                            <Items>
                                <f:CheckBoxList runat="server" ID="cblVisitDays" Label="接待时间" LabelAlign="right">

                                    <f:CheckItem Value="1" Text="星期一"></f:CheckItem>
                                    <f:CheckItem Value="2" Text="星期二"></f:CheckItem>
                                    <f:CheckItem Value="3" Text="星期三"></f:CheckItem>
                                    <f:CheckItem Value="4" Text="星期四"></f:CheckItem>
                                    <f:CheckItem Value="5" Text="星期五"></f:CheckItem>
                                    <f:CheckItem Value="6" Text="星期六"></f:CheckItem>
                                    <f:CheckItem Value="7" Text="星期天"></f:CheckItem>
                                </f:CheckBoxList>
                            </Items>

                        </f:FormRow>
                        <f:FormRow>
                            <Items>
                                <f:Label runat="server" ShowEmptyLabel="true" ID="labtip" 
                                     ShowLabel="true"  LabelAlign="right" 
                                    CssStyle="color:red;" Text="时间段默认为：09:00-10:00 ，10:30-11:30，14:30-15:30，16:00-17:00">
                                    
                                </f:Label>
                            </Items>

                        </f:FormRow>
                        <f:FormRow>
                            <Items>
                                <f:CheckBox ID="cbxEnabled" runat="server" Label="是否发布" LabelAlign="right">
                                </f:CheckBox>
                            </Items>
                        </f:FormRow>

                    </Rows>
                </f:Form>


            </Items>
            <Toolbars>
                <f:Toolbar ID="Toolbar1" runat="server" Position="Bottom" ToolbarAlign="Center">
                    <Items>
                        <f:Button ID="btnSaveClose" ValidateForms="Form2" Icon="SystemSaveClose"
                            OnClick="btnSaveClose_Click" runat="server" Text="保存并关闭">
                        </f:Button>
                        <f:ToolbarSeparator ID="ToolbarSeparator2" runat="server">
                        </f:ToolbarSeparator>
                        <f:Button ID="btnClose" Icon="SystemClose" EnablePostBack="false" runat="server"
                            Text="关闭" DisableControlBeforePostBack="True">
                        </f:Button>
                    </Items>
                </f:Toolbar>
            </Toolbars>
        </f:Panel>


    </form>
</body>
</html>
